import React from 'react';
const defaultValue = {
    name:"zhangsan",
    age:5,
    grow:() => {}
}
const {Provider, Consumer} = React.createContext(defaultValue);

export {Provider,Consumer}